package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.media.model.CourseTeacherDTO;
import com.xuecheng.content.entity.CourseTeacher;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author itcast
 * @since 2019-11-05
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    //查询
    List<CourseTeacherDTO> courseTeacherList(Long courseBaseId, Long coursePubId);

    //添加
    CourseTeacherDTO addCourseTeachers(CourseTeacherDTO courseTeacherDTO);

    //删除
    boolean delCourseTeachers(Long courseBaseId, Long courseTeacherId);
}
